﻿<!doctype html>
<html>
	<!-- InstanceBegin template="/Templates/template1.dwt" codeOutsideHTMLIsLocked="false" -->
	<head>
		<meta charset="utf-8">
		<title>订单管理</title>
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript" src="../js/jquery.pager.js"></script>
		<link href="../css/Pager.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="../js/utils.js"></script>
		<script type="text/javascript" src="../js/formValidator.js"></script>
		<script type="text/javascript" src="../js/formValidatorRegex.js"></script>
		<link href="../css/validator3.css" type="text/css" rel="stylesheet" />
		<link href="../css/style.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="../js/checkLogin.js"></script>
		<script type="text/javascript" src="../js/doubleDate2.0.js"></script>
		<script type="text/javascript" src="../js/pagination.js"></script>
		<script type="text/javascript" src="orders.js"></script>

	</head>
	<body>

		<div id="yinying"></div>
		<div id="yinying1"></div>

		<!-- 选择 商铺名称的列表 -->
		<div id="shopListPanel" class="hideDiv">
			<div style="float: right; margin-bottom: 5px; width: 20px; height: 20px; line-height: 20px; text-align: center; background-color: #eee; margin-bottom: 5px; border: 1px solid #ccc;">
				<span id="shopListPanel_close" style="cursor: pointer; font-size: 14px;">X</span>
			</div>
			<div class="bottom_search">
				<div class="serWrapper">
					<input type="text" id="shopListPanel_searchName" class="txt">
					<strong class="refresh" onclick="$(this).prev().val('')">清空</strong>
				</div>
				<input type="button" id="shopListPanel_search"
				style="width: auto; margin-left: 5px;" value="查询"
				class="common_btn">
			</div>
			<table id="shopList" cellpadding="4" cellspacing="0" border="1" width="100%">
				<thead>
					<tr>
						<th>店面ID</th>
						<th>店面名称</th>
						<th>电话</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody id="shopListPanel_data" ></tbody>
			</table>
			<div id="shopPager"></div>
		</div>

		<div class="container" id="container">
			<!-- 页面详情 -->
			<div id="orderDetailPage" class="container_R fr" style="display:none;">
				<div class="place">
					订单详情
					<a class="goHome" href="javaScript:toOrderList();">返回</a>
				</div>
				<div class="member_search">
					<p>
						<span>订单编号：</span>
						<span id="orderMainNo"></span>
						<span>订单状态：</span>
						<span id="orderStatus"></span>
						<span>成交时间：</span>
						<span id="makeTime"></span>

					</p>
					<p>
						<span>收货人：</span>
						<span id="receiver"></span>
						<span >手机：</span>
						<span id="receiveMp"></span>
						<span>收货地址：</span>
						<span id="receiveAddress"></span>
					</p>
				</div>
				<table width="100%" class="member_list" cellpadding="0"
				cellspacing="1" border="0">
					<caption>
						<strong>商品列表 <span id="goodsSup">共0条</span></strong>
					</caption>
					<thead>
						<tr>
							<th>供货商</th>
							<th>编码</th>
							<th>名称</th>
							<th>规格</th>
							<th>数量</th>
							<th>单价</th>
							<th>小计</th>
						</tr>
					</thead>
					<tbody id="goodsList"></tbody>
				</table>
			</div>

			<!-- 订单列表 -->
			<div id="orderListPage" class="container_R fr">
				<div class="place">
					订单流水
				</div>
				<div class="member_search">
					<p>
						<span>
							<input type="checkbox" id="shopIsChoosed" style="width: auto; height: auto;border:none;" />
							店面： </span>
						<select id="shopName" onclick="openShopListPanel(this)" style="height: 20px;"></select>
						<span>开始日期：</span>
						<input type="text" readonly
						class="doubledate ipticon" id="startDate" />
						<span>结束日期：</span>
						<input type="text" readonly
						class="doubledate ipticon" id="endDate" />

					</p>
					<p>
						<span>订单号：</span>
						<input type="text" id="orderNo" />
						<span>客户姓名：</span>
						<input type="text" id="receivName" />
						<span>手机：</span>
						<input type="text" id="mp" />
					</p>
					<p>
						<span>状态：</span>
						<select id="status">
							<option value="">所有</option>
							<option value="0">未付款</option>
							<option value="1">已支付</option>
						</select>
						<input type="button" value="查询" class="btn" onclick="search()">
					</p>
				</div>
				<table width="100%" class="member_list" cellpadding="0"
				cellspacing="1" border="0">
					<caption>
						<strong>订单列表 <span id="sup">共0条</span></strong>
						<a href="javascript:void(0)" onclick="downRescouse()">导出数据</a>
					</caption>
					<thead>
						<tr>
							<th width="13%">订单编号</th>
							<th width="15%">订单日期</th>
							<th width="15%">客户姓名</th>
							<th width="18%">手机</th>
							<th width="15%">总积分</th>
							<th width="8%">状态</th>
							<th width="10%">操作</th>
						</tr>
					</thead>
					<tbody id="orderList"></tbody>
				</table>
				<div id="pager" style="float: right;"></div>
			</div>
			<div class="fc"></div>
		</div>
		<!-- InstanceEndEditable -->
		<script type="text/javascript" src="../js/header.js"></script>
		<script type="text/javascript" src="../js/left.js"></script>
		<script type="text/javascript" src="../js/footer.js"></script>
	</body>
	<!-- InstanceEnd -->
</html>
